// To parse this JSON data, do
//
//     final assessmentsCountResult = assessmentsCountResultFromJson(jsonString);

import 'dart:convert';

AssessmentsCountResult assessmentsCountResultFromJson(String str) =>
    AssessmentsCountResult.fromJson(json.decode(str));

String assessmentsCountResultToJson(AssessmentsCountResult data) =>
    json.encode(data.toJson());

class AssessmentsCountResult {
  AssessmentsCountResult({
    this.status,
    this.message,
    this.result,
  });

  int? status;
  String? message;
  Result? result;

  factory AssessmentsCountResult.fromJson(Map<String, dynamic> json) =>
      AssessmentsCountResult(
        status: json["status"],
        message: json["message"],
        result: json["result"] != null ? Result.fromJson(json["result"]) : null,
      );

  Map<String, dynamic> toJson() => {
        "status": status,
        "message": message,
        "result": result != null ? result?.toJson() : null,
      };
}

class Result {
  Result({
    this.count,
  });

  int? count;

  factory Result.fromJson(Map<String, dynamic> json) => Result(
        count: json["count"],
      );

  Map<String, dynamic> toJson() => {
        "count": count,
      };
}
